﻿@model AuditModel.ExpertJudge

@{
    ViewBag.Title = @AuditResources.UI.PageTitle;
    Layout = "~/Views/Shared/Admin/_EventSettingLayout.cshtml";
}

<h2><text>学科组</text>@AuditResources.ExpertJudge.ObjectName</h2>

<h3>@AuditResources.UI.AreYouSureToDelete</h3>
<fieldset>
    <legend>@AuditResources.ExpertJudge.ObjectName</legend>

    @if (Request.QueryString["error"] == "1")
    {
    <div class="error">无法删除，可能是评委已经有评分记录。</div>
    }

    <div class="display-label">@AuditResources.ExpertJudge.RealName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RealName)
    </div>

    <div class="display-label">@AuditResources.ExpertJudge.Phone</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Phone)
    </div>

    <div class="display-label">@AuditResources.ExpertJudge.AnnualEventId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AnnualEvent.Title)
    </div>

    <div class="display-label">@AuditResources.ExpertJudge.SubjectId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Subject.Name)
    </div>

    <div class="display-label">@AuditResources.ExpertJudge.SerialNumber</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SerialNumber)
    </div>

    <div class="display-label">@AuditResources.ExpertJudge.ContactAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ContactAddress)
    </div>

    <div class="display-label">@AuditResources.ExpertJudge.ZipCode</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ZipCode)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="@AuditResources.UI.DeleteConfirm" /> |
        @Html.ActionLink(AuditResources.UI.BackToList, "Index", new { id = ViewBag.AnnualEventID }, new { @class = "button" })
    </p>
}
